Christian Kellner [Mon, 5 Sep 2016 11:41:16 +0000 (13:41 +0200)]
placesview: keep reference during network fetching
Analogous to (un)mount operation, we now keep a reference around
during the ongoing operation and make use of the destroyed flag
to check if we are still alive or if we have been cancelled as
a result of the widget being destroyed.
https://bugzilla.gnome.org/show_bug.cgi?id=764979
Christian Kellner [Mon, 5 Sep 2016 11:19:29 +0000 (13:19 +0200)]
placesview: override destory to cancel ongoing ops
Since we hold on to a reference during (un)mount operations, we
don't trigger the cancellation of operations in finalize anymore.
Instead we now override the GtkWidget's destroy() and cancel any
ongoing operations there.
https://bugzilla.gnome.org/show_bug.cgi?id=764979
Christian Kellner [Sun, 4 Sep 2016 13:28:11 +0000 (15:28 +0200)]
placesview: properly recover from cancellation
The current code wrongly assumes that cancellation can only happen
as a result widget finalization, and consequentially does not
properly recover from it. Therefore if the operation is cancelled
as a result of user interaction, the entry is will stay disabled
and the spinner will keep spinning. This is fixed by removal of
the early bail out in case of cancellation.
https://bugzilla.gnome.org/show_bug.cgi?id=764979
Christian Kellner [Sun, 4 Sep 2016 09:47:55 +0000 (11:47 +0200)]
placesview: hold onto ref during (un)mount ops
During mount and unmount opertions we keep a reference to the
GtkPlacesView around, so we have a valid view for the callback
code, even in the case that othe external references have been
dropped (i.e. the containing window gets destroyed).
https://bugzilla.gnome.org/show_bug.cgi?id=764979
Takao Fujiwara [Fri, 9 Sep 2016 16:54:13 +0000 (01:54 +0900)]
gdkscreen-x11: Enable RandR on VirtualBox
RandR 1.5 is enabled on VirtualBox guest of Fedora 25 but
XRROutputInfo->name is "default". If init_randr15() does not
return TRUE, the monitor size sets 0 because gdk_screen_get_width()
returns 0.
This problem causes GtkStatusIcon not to show the activate menu.
https://bugzilla.gnome.org/show_bug.cgi?id=771033
Tiago Santos [Fri, 9 Sep 2016 16:59:19 +0000 (16:59 +0000)]
Updated Portuguese translation
Arash Mousavi [Fri, 9 Sep 2016 13:56:04 +0000 (18:26 +0430)]
[l10n] update Persian translations
Fran Dieguez [Thu, 8 Sep 2016 21:03:03 +0000 (23:03 +0200)]
Update Galician translations
Signed-off-by: Fran Dieguez <fran.dieguez@mabishu.com>
Rūdolfs Mazurs [Thu, 8 Sep 2016 18:18:24 +0000 (21:18 +0300)]
Update Latvian translation
Bruce Cowan [Thu, 8 Sep 2016 11:10:05 +0000 (11:10 +0000)]
Updated British English translation
Timm Bäder [Thu, 8 Sep 2016 09:18:16 +0000 (11:18 +0200)]
gdkdisplay: Unref seats in finalize
Timm Bäder [Thu, 8 Sep 2016 08:45:25 +0000 (10:45 +0200)]
gdkdisplay-wayland: Fix some memory leaks
Anders Jonsson [Thu, 8 Sep 2016 07:57:11 +0000 (07:57 +0000)]
Updated Swedish translation
Rafael Fontenelle [Tue, 6 Sep 2016 12:46:30 +0000 (12:46 +0000)]
Updated Brazilian Portuguese translation
Tristan Van Berkom [Tue, 6 Sep 2016 12:29:03 +0000 (21:29 +0900)]
Revert "about dialog: Set a max-content-height on credits"
This reverts commit
6af5033386b60bdf71cc21d99d579c2a8c389880.
Scrolled window behavior of propagating child natural sizes
has now been made optional, so there is no need to work around
this by setting a hard coded maximum content height anymore.
Tristan Van Berkom [Tue, 6 Sep 2016 12:09:26 +0000 (21:09 +0900)]
Revert "Add a release note for scrolled windows"
This reverts commit
76af90767634f5caea622c2abc13d21adb41550c.
The behavioral change described in the migration guide
has now been made optional with new scrolled window API,
so no need to mention this in the migration guide.
Tristan Van Berkom [Tue, 6 Sep 2016 11:23:20 +0000 (20:23 +0900)]
Revert "widget factory: Adapt to new scrolled window behavior"
This reverts commit
37e913d76bea6b58a38db1b7996958b81984a114.
This is no longer needed since the natural size propagation of
scrolled window children is now an optional behavior. Reverting
this also makes the widget factory scrolled window sizes behave
the same as with the gtk+ 3.20 branch.
Matthias Clasen [Tue, 6 Sep 2016 10:37:47 +0000 (06:37 -0400)]
css: Complete the cross-fade implementation
We need to actually compute the images. Otherwise,
bad things happen when we try to draw.
https://bugzilla.gnome.org/show_bug.cgi?id=767391
Matthias Clasen [Tue, 6 Sep 2016 10:21:06 +0000 (06:21 -0400)]
Fix whitespace
Matthias Clasen [Tue, 6 Sep 2016 10:16:40 +0000 (06:16 -0400)]
css: Set meaningful fallback color
This code was passing out-of-range values into
gdk_cairo_set_source_rgb, which cannot really make
anything better.
Yosef Or Boczko [Tue, 6 Sep 2016 08:47:45 +0000 (11:47 +0300)]
Updated Hebrew translation
Piotr Drąg [Mon, 5 Sep 2016 23:40:13 +0000 (01:40 +0200)]
Updated Polish translation
GNOME Translation Robot [Mon, 5 Sep 2016 14:24:37 +0000 (14:24 +0000)]
Updated Scottish Gaelic translation
GNOME Translation Robot [Mon, 5 Sep 2016 14:17:15 +0000 (14:17 +0000)]
Updated Scottish Gaelic translation
Tristan Van Berkom [Mon, 5 Sep 2016 07:08:27 +0000 (16:08 +0900)]
GtkScrolledWindow: Bug 766569 - fix return types in added APIs
In gtkscrolledwindow.c, the return type of _get_propagate_natural_width()
and _get_propagate_natural_height() were accidentally gint instead of
gboolean, fixed to match the type correctly declared in the header file.
Matthias Clasen [Mon, 5 Sep 2016 01:45:31 +0000 (21:45 -0400)]
gtk3-demo: Avoid underallocating columns
Setting a fixed width on the columns causes the headers to be
be underallocated. It is not necessary either.
Matthias Clasen [Sun, 4 Sep 2016 19:38:43 +0000 (15:38 -0400)]
label: take padding into account when measuring
When doing height-for-width measurements, we need to take
padding into account. This was causing various allocation
errors.
https://bugzilla.gnome.org/show_bug.cgi?id=770849
Matthias Clasen [Sun, 4 Sep 2016 19:38:00 +0000 (15:38 -0400)]
label: Fix indentation
Trivial, but annoying.
Marek Černocký [Sun, 4 Sep 2016 19:22:08 +0000 (21:22 +0200)]
Updated Czech translation
Matthias Clasen [Sun, 4 Sep 2016 13:43:51 +0000 (09:43 -0400)]
range: Ensure we don't underallocate the highlight gadget
This was causing warnings in HighContrast.
https://bugzilla.gnome.org/show_bug.cgi?id=770614
Matthias Clasen [Sun, 4 Sep 2016 12:21:49 +0000 (08:21 -0400)]
Fix a variable name misspelling
No semantic change here; the misspelling just annoyed me.
Aurimas Černius [Sun, 4 Sep 2016 09:21:43 +0000 (12:21 +0300)]
Updated Lithuanian translation
Baurzhan Muftakhidinov [Sat, 3 Sep 2016 17:56:09 +0000 (17:56 +0000)]
Updated Kazakh translation
Baurzhan Muftakhidinov [Sat, 3 Sep 2016 17:55:38 +0000 (17:55 +0000)]
Updated Kazakh translation
Changwoo Ryu [Sat, 3 Sep 2016 14:35:58 +0000 (14:35 +0000)]
Updated Korean translation
Changwoo Ryu [Sat, 3 Sep 2016 14:35:32 +0000 (14:35 +0000)]
Updated Korean translation
Joaquim Rocha [Thu, 1 Sep 2016 11:25:23 +0000 (13:25 +0200)]
listbox: Select the last row on page down when there are few rows
When pressing page down doesn't retrieve a valid row (because the list
box has few rows), the last visible one should be selected instead.
https://bugzilla.gnome.org/show_bug.cgi?id=770703
Joaquim Rocha [Thu, 1 Sep 2016 11:23:14 +0000 (13:23 +0200)]
listbox: Avoid crashing on page down if the list has few rows
The code always assumed that getting a row at a certain 'y' was
possible but if the list box has more empty space than rows then a
valid row may not be retrieved.
https://bugzilla.gnome.org/show_bug.cgi?id=770703
Timm Bäder [Sat, 3 Sep 2016 07:58:27 +0000 (09:58 +0200)]
popover: Skip first frame when transitioning
Similar to what we do in GtkStack.
Jiri Grönroos [Sat, 3 Sep 2016 09:16:40 +0000 (09:16 +0000)]
Updated Finnish translation
Jakub Steiner [Tue, 23 Aug 2016 11:11:48 +0000 (13:11 +0200)]
Adwaita,HC: fix icon name
- while we don't use steppers anymore, for some reason they are still
defined in the theme and if you sacrifice a chicken and jump on one
leg at full moon, you can enable them.
https://bugzilla.gnome.org/show_bug.cgi?id=769498
Bernd Homuth [Fri, 2 Sep 2016 14:04:21 +0000 (14:04 +0000)]
Updated German translation
Jonas Ådahl [Fri, 2 Sep 2016 10:51:34 +0000 (18:51 +0800)]
wayland: Warn when an application tries to map popup incorrectly
When a popup is mapped but will not be the top most popup (for example
the parent is not the current top most popup, or if there already is a
popup mapped but the parent is a toplevel), warn and ignore it instead
of continuing, as continuing would be a protocol violation.
https://bugzilla.gnome.org/show_bug.cgi?id=770745
Balázs Meskó [Fri, 2 Sep 2016 08:16:23 +0000 (08:16 +0000)]
Updated Hungarian translation
Мирослав Николић [Thu, 1 Sep 2016 16:14:09 +0000 (18:14 +0200)]
Updated Serbian translation
Timm Bäder [Thu, 1 Sep 2016 13:20:12 +0000 (15:20 +0200)]
popover: Propagate drawing
Timm Bäder [Thu, 1 Sep 2016 13:16:58 +0000 (15:16 +0200)]
popover: Fix hfw/wfh size request
Since we're using _get_rect_coords in size-allocate when allocating the
size of the child widget, use the newly introduced _get_rect_for_size to
calculate the difference between the passed size_for and the one we're
supposed to pass on to the child widget.
Timm Bäder [Thu, 1 Sep 2016 13:15:18 +0000 (15:15 +0200)]
popover: Introduce _get_rect helper for a size
When calculating the requested size of a popover, we need to do the
exact same same thing _get_rect_coords did, but not for the
current popopver allocation. Add _get_rect_for_size that can be used for
this purpose
Timm Bäder [Thu, 18 Aug 2016 09:42:21 +0000 (11:42 +0200)]
gtk{info,search}bar.ui: Remove some leftover attributes
Arnaud Bonatti [Wed, 31 Aug 2016 05:46:34 +0000 (07:46 +0200)]
Use 'focused' everywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=770624
Arnaud Bonatti [Wed, 31 Aug 2016 05:43:44 +0000 (07:43 +0200)]
Fix typos.
https://bugzilla.gnome.org/show_bug.cgi?id=770624
Piotr Drąg [Thu, 1 Sep 2016 00:59:03 +0000 (02:59 +0200)]
Updated Polish translation
Matthias Clasen [Wed, 31 Aug 2016 19:04:57 +0000 (15:04 -0400)]
Fix the scrolledwindow test
These tests were written for the propagate-nat-size semantics,
so opt in to it.
Tristan Van Berkom [Wed, 31 Aug 2016 04:54:25 +0000 (13:54 +0900)]
GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional
Making propagation of child natural sizes mandatory (or default, even) was
evidently a mistake as this causes dynamic content in a scrolled window
to resize it's parent when the scrolled window is competing for space
with an adjacent widget.
This patch instead adds API to control whether natural width and
height of the child should be propagated through the scrolled windows
size requests.
Matthias Clasen [Wed, 31 Aug 2016 11:07:01 +0000 (07:07 -0400)]
Require wayland-protocols 1.7
Needed for xdg-shell v6.
Christian Kirbach [Wed, 31 Aug 2016 07:10:52 +0000 (07:10 +0000)]
Updated German translation
Gábor Kelemen [Tue, 30 Aug 2016 07:39:03 +0000 (07:39 +0000)]
Updated Hungarian translation
Matthias Clasen [Mon, 29 Aug 2016 17:34:05 +0000 (13:34 -0400)]
3.21.5
Matthias Clasen [Mon, 29 Aug 2016 19:49:24 +0000 (15:49 -0400)]
x11: Fix a trap mixup
There was a return between a push/pop of an error trap, and
this managed to trigger the 'unpopped trap' warning in the
displayclose test now. Fix this.
Lionel Landwerlin [Thu, 25 Aug 2016 19:38:52 +0000 (20:38 +0100)]
gtk: window: don't forget to realize popovers of subwindows
https://bugzilla.gnome.org/show_bug.cgi?id=770307
Matthias Clasen [Mon, 29 Aug 2016 17:12:56 +0000 (13:12 -0400)]
Document handle-related Wayland api
In particular, note that this API depends on an unstable
Wayland protocol and thus may have to change.
Jonas Ådahl [Wed, 13 Jul 2016 07:24:19 +0000 (15:24 +0800)]
wayland: Add API for setting an exported as a parent
Add an API that enables an application to, given an exported window
handle, set its own window as a transient of the window associated with
the exported window handle.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
Jonas Ådahl [Wed, 13 Jul 2016 07:22:59 +0000 (15:22 +0800)]
window: Add Wayland implementation of gtk_window_export_handle
https://bugzilla.gnome.org/show_bug.cgi?id=769788
Jonas Ådahl [Tue, 12 Jul 2016 03:49:39 +0000 (11:49 +0800)]
wayland: Add API for creating exported window handles
Using the xdg_foreign protocol, expose a way to get handles to windows
that may be shared between processes.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
Benjamin Otte [Mon, 29 Aug 2016 14:00:17 +0000 (16:00 +0200)]
Use NULL for generic marshallers in g_signal_new()
glib will use the correct marshaller automatically. And as a side
effect, we also get all glib optimizations, like a va marshaller.
Matthias Clasen [Mon, 29 Aug 2016 14:01:20 +0000 (10:01 -0400)]
about dialog: Set a max-content-height on credits
This keeps the credits section from making the dialog grow
when there are lots of credits.
https://bugzilla.gnome.org/show_bug.cgi?id=770458
Carlos Soriano [Mon, 29 Aug 2016 12:39:48 +0000 (14:39 +0200)]
gtkplacessidebar: fix signal marshal
We were using __VOID for the SHOW_OTHER_LOCATION signal that
uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS.
However, if a signal uses flags the marshal needs to use __FLAGS.
This patch addresses this using VOID__FLAGS as the marshaler parameter.
Thanks to Jan Steffens for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=770550
Мирослав Николић [Sun, 28 Aug 2016 19:55:26 +0000 (21:55 +0200)]
Updated Serbian translation
Мирослав Николић [Sun, 28 Aug 2016 19:54:20 +0000 (21:54 +0200)]
Updated Serbian translation
Руслан Ижбулатов [Fri, 26 Aug 2016 20:46:27 +0000 (20:46 +0000)]
GDK W32: Remove obsolete assertions
Piotr Drąg [Fri, 26 Aug 2016 11:46:38 +0000 (13:46 +0200)]
Updated Polish translation
Matthias Clasen [Fri, 26 Aug 2016 05:09:40 +0000 (01:09 -0400)]
Updates
Benjamin Otte [Thu, 25 Aug 2016 21:01:28 +0000 (23:01 +0200)]
Add braces to appease gcc
-ftrack-macro-expansion=0 doesn't like if statements without braces when
evaluating indentation levels.
Benjamin Otte [Thu, 25 Aug 2016 19:05:25 +0000 (21:05 +0200)]
uimanager: Correctly indent code
Benjamin Otte [Thu, 25 Aug 2016 19:05:07 +0000 (21:05 +0200)]
a11y: Correctly indent code
Matej Urbančič [Thu, 25 Aug 2016 20:16:17 +0000 (22:16 +0200)]
Updated Slovenian translation
Matej Urbančič [Thu, 25 Aug 2016 20:09:16 +0000 (22:09 +0200)]
Updated Slovenian translation
Matthias Clasen [Thu, 25 Aug 2016 11:48:20 +0000 (07:48 -0400)]
cell renderer text: Allow entries to shrink
Set a small max-width on entries used for editing cells, so they
adapt to small columns and don't overlap the next column.
https://bugzilla.gnome.org/show_bug.cgi?id=770374
Olivier Fourdan [Tue, 5 Apr 2016 16:17:40 +0000 (18:17 +0200)]
wayland: add min/max size from xdg-shell v6
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413
Jonas Ådahl [Fri, 8 Jul 2016 08:54:36 +0000 (16:54 +0800)]
wayland: Implement move_to_rect
Translate move_to_rect parameter into xdg_positioner requests, and use
the generated xdg_positioner to create the popup.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 09:03:36 +0000 (17:03 +0800)]
wayland: Port to xdg_shell unstable v6
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 09:02:11 +0000 (17:02 +0800)]
wayland: Move window geometry calculation to helper
We'll use it from more places later.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 08:51:32 +0000 (16:51 +0800)]
wayland: Only update the window title if it actually updated
This makes the protocol log less spammy.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Fri, 1 Jul 2016 08:48:16 +0000 (16:48 +0800)]
wayland: Only sync surface regions once per commit
Only set input, opaque and window geometry regions once per commit.
They are double buffered anyway, so the last one would only take effect
either way; this way reading protocol logs are much more pleasent.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Tue, 26 Jan 2016 02:14:54 +0000 (10:14 +0800)]
wayland: Remove gdk_wayland_display_get_xdg_shell()
Don't expose the xdg_shell struct as it is not yet a stable type that
will stay the same.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Tue, 28 Jun 2016 07:01:22 +0000 (15:01 +0800)]
wayland: Get tiled state from gtk_shell instead of xdg_shell
Use our the 'tiled' entry from our new 'state' enum sent via
xdg_surface.configure.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Jonas Ådahl [Tue, 28 Jun 2016 07:01:04 +0000 (15:01 +0800)]
wayland: Fix indentation
https://bugzilla.gnome.org/show_bug.cgi?id=769937
Matthias Clasen [Thu, 25 Aug 2016 04:13:13 +0000 (00:13 -0400)]
wayland: Add some more debug spew
Matthias Clasen [Thu, 25 Aug 2016 03:59:46 +0000 (23:59 -0400)]
wayland: Replace g_debug by GDK_NOTE
We have this framework, lets use it.
Matthias Clasen [Wed, 24 Aug 2016 18:43:58 +0000 (14:43 -0400)]
Document window-icon related api as 'may not work'
Some platforms simply don't have window icons (such as Wayland).
Matthias Clasen [Wed, 24 Aug 2016 18:10:35 +0000 (14:10 -0400)]
notebook: Update arrow state when switching pages
Otherwise, we may end up showing clickable arrows that don't
do anything.
https://bugzilla.gnome.org/show_bug.cgi?id=770332
Matthias Clasen [Wed, 24 Aug 2016 16:58:54 +0000 (12:58 -0400)]
scale: Document interaction between rounding and autoscrolling
This is a bit of a gotcha, so better document it.
Matthias Clasen [Wed, 24 Aug 2016 16:53:28 +0000 (12:53 -0400)]
widget-factory: Fix smooth autoscrolling of scales
There is annoying interference between formatting the value
(for which we set the number of digits to show) and the small
frame-to-frame value changes that we do for autoscrolling.
To work around this, turn off the digits-based rounding entirely
and format the value ourselves with ::format-value.
Matthias Clasen [Wed, 24 Aug 2016 15:11:57 +0000 (11:11 -0400)]
gtk-demo: Make the scale demo fully functional
The adjustments need to have step-increment and page-increment
set up, or keynav and autoscrolling will not work.
Matthias Clasen [Wed, 24 Aug 2016 14:54:00 +0000 (10:54 -0400)]
Allow activating the desktop portal for inhibit
We allow it everywhere else, and there is nothing wrong with it.
Marek Černocký [Wed, 24 Aug 2016 12:10:11 +0000 (14:10 +0200)]
Updated Czech translation
Daniel Mustieles [Wed, 24 Aug 2016 10:05:51 +0000 (10:05 +0000)]
Updated Spanish translation
Piotr Drąg [Tue, 23 Aug 2016 19:57:59 +0000 (21:57 +0200)]
Update POTFILES.in and POTFILES.skip
Carlos Garnacho [Tue, 23 Aug 2016 18:18:10 +0000 (20:18 +0200)]
demos: Use stateful actions for rings/strips in "Touch and Drawing Tablets" demo
https://bugzilla.gnome.org/show_bug.cgi?id=770026
Carlos Garnacho [Tue, 23 Aug 2016 18:16:02 +0000 (20:16 +0200)]
GtkPadController: Make ring/strip actions be activated with the axis value
This way these axes may be used in detail by the implementors of pad GActions.
https://bugzilla.gnome.org/show_bug.cgi?id=770026